﻿using System;
using System.Windows.Controls;
using System.Windows.Media.Imaging;

namespace Win7RovMobileApp
{
    public partial class Vehicle : UserControl 
    {

        public Vehicle(String imageSource, String name) 
        {
            InitializeComponent();
            Photo.Source = new BitmapImage(new Uri(imageSource, UriKind.RelativeOrAbsolute));
            Description.Text = name;
        }
    }
}
